package com.heartbeats.lab.wiibalanceboard.controllers
{

import com.heartbeats.lab.wiibalanceboard.core.IModel;
import flash.geom.Point;

public class WiiBalanceBoardController implements IBalanceBoardController
{
	private var model : IModel;
	
	public function WiiBalanceBoardController ( aModel : IModel )
	{
		this.model = aModel;
	}
	
	public function position ( point : Point ) : void
	{
		this.model.setPosition ( point );
	}
	
	public function connected () : void
	{
		this.model.connected ();
	}
	
	public function disconnected () : void
	{
		this.model.disconnected ();
	}
}

}